package com.lk.service.serviceImpl;

import com.lk.dao.BaseDao;
import com.lk.service.BaseService;
import com.lk.utils.ResponseCommon;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * Created by daniel on 17/2/8.
 */
public class BaseServiceImpl<D extends BaseDao<T>, T> implements BaseService {
    @Autowired
    private D dao;


    public T getOneById(String id) {
        return null;
    }

    public T getOne(Object o) {
        return null;
    }

    public List<T> getAll(Object o) {
        return null;
    }

    public ResponseCommon saveOrUpdate(Object o) {
        return null;
    }

    public ResponseCommon updateFlagById(String id) {
        return null;
    }

    public ResponseCommon updateFlag(Object o) {
        return null;
    }

    public ResponseCommon deleteById(String id) {
        return null;
    }

    public ResponseCommon delete(Object o) {
        return null;
    }
}
